<div>
    <div>
        <div class="panel panel-default  m-n">
            <div class="panel-heading font-bold">
                导出订单及订单明细
                <i class="m-t-sm m-l-xs fa fa-question-circle text-muted pos-rlt h6"  popover-placement="right"
                   popover="导出订单范围限定在90天之内" popover-trigger="mouseenter"></i>
            </div>
            <div class="panel-body">
                <form name="advertisementTypeAddform" role="form" class="ng-pristine ng-valid">
                    <div class="inline pull-left m-r-sm m-b-sm" ng-controller="DatepickerDemoCtrl">
                        <div class="input-group w-lg">
                            <input type="text" class="form-control" placeholder="请输入下单开始日期" uib-datepicker-popup="yyyy-MM-dd"
                                   datepicker-popup="yyyy-MM-dd" ng-model="ordersdetails.start" alt-input-formats="altInputFormats"
                                   is-open="opened" datepicker-options="dateOptions" close-text="关闭" clear-text="清空"
                                   current-text="今天" ng-change="startLimit()" max-date="ordersdetails.end" initialDate disabled required/>
                            <span class="input-group-btn " style="padding-right: 10px">
                                <button type="button" class="btn btn-default " ng-click="open($event)"><i
                                        class="glyphicon glyphicon-calendar"></i></button>
                            </span>
                        </div>
                    </div>
                    <div class="inline pull-left m-r-sm m-b-sm" ng-controller="DatepickerDemoCtrl">
                        <div class="input-group w-lg ">
                            <input type="text" class="form-control" placeholder="请输入下单结束日期" uib-datepicker-popup="yyyy-MM-dd"
                                   datepicker-popup="yyyy-MM-dd" ng-model="ordersdetails.end" alt-input-formats="altInputFormats"
                                   is-open="opened" datepicker-options="dateOptions" close-text="关闭" clear-text="清空"
                                   current-text="今天" ng-change="endLimit()" max-date="maxDate" initialDate disabled required/>
                            <span class="input-group-btn " style="padding-right: 10px">
                                <button type="button" class="btn btn-default " ng-click="open($event)"><i
                                        class="glyphicon glyphicon-calendar"></i></button>
                            </span>
                        </div>
                    </div>
                    <label class="control-label">订单状态</label>
                    <select class="input-sm form-control m-b-sm" ng-model="ordersdetails.ordersStatusObj"
                            ng-init="ordersdetails.ordersStatusObj = ordersStatusObj[0]"
                            ng-options=" item as item.value for item in ordersStatusObj">
                        <!--0 - wait , 1 - paid , 2 - shipped , 3 - confirm , 4-wait_use,5-has_use,6-complete,7 - cancel, 8 - failin, 9 - fail-->
                        <option  value="">请选择</option>
                    </select>
                    <div class="text-right">
                        <div>
                            <button type="submit" ng-click="ok()" class="btn m-b-xs w-xs btn-info">保存</button>
                            <button class="btn m-b-xs w-xs btn-default" ng-click="cancel()">取消</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>